var ajax = $.ajax();
$.ajax = function (json) {
    var success = json.success();

    function _success(data) {
        alert("我是拦截器");
        return success(data);
    }

    json.success = _success();
    return ajax(json);
}
